package model;

/**
 * Created by yvdedu.com on 2016/9/26.
 */
public class Opt {
    private int id;
    private int book_id;
    private int user_id;
    private String opt;
    private String time;
    private String score;

    public Opt(int id, int book_id, int user_id, String opt, String time, String score) {
        this.id = id;
        this.book_id = book_id;
        this.user_id = user_id;
        this.opt = opt;
        this.time=time;
        this.score = score;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setOpt(String opt) {
        this.opt = opt;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public int getId() {
        return id;
    }

    public int getBook_id() {
        return book_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public String getOpt() {
        return opt;
    }

    public String getScore() {
        return score;
    }

    @Override
    public String toString() {
        return "Opt{" +
                "id=" + id +
                ", book_id=" + book_id +
                ", user_id=" + user_id +
                ", opt='" + opt + '\'' +
                ", score='" + score + '\'' +
                '}';
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
